package cn.cfoodc.sharding.service;

import cn.cfoodc.sharding.domain.TOrderItem;

import java.util.List;

public interface TOrderItemService {

    int deleteByPrimaryKey(Long orderItemId , Long userId);

    int insert(TOrderItem record);

    TOrderItem selectByPrimaryKey(Long orderItemId,Long userId);

    int updateByPrimaryKey(TOrderItem record);

    List<TOrderItem> selectPage(Long userId, Long orderId, int indexLine, int pageSize);

    List<TOrderItem> selectAllPage(int i, int pageSize);


}
